package com.sketch.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("advertise_config")
@ApiModel(description = "广告配置实体")
public class AdvertiseConfigDTO {
    @ApiModelProperty(value = "ID")
    @TableField("id")
    private Long id;

    @ApiModelProperty(value = "类型: 1.视频播放 2.视频底部 3.启动屏幕 4.App唤醒 5.福利tab")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "渠道")
    @TableField("channel")
    private String channel;

    @ApiModelProperty(value = "链接")
    @TableField("link")
    private String link;

    @ApiModelProperty(value = "素材地址")
    @TableField("material")
    private String material;

    @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @TableField("end_time")
    private Date endTime;

    @ApiModelProperty(value = "循环类型: 1.每天 2.每周 3.每小时 4.每月")
    @TableField("cycle")
    private Integer cycle;
}